#ifndef INTERFACES_H__
#define INTERFACES_H__

#include <string>
using std::string;

class ISerializable
{
public:
	virtual string Serialize() = 0;
	virtual void DeSerialize(string const & val) = 0;
};

template <class T>
class ITSerializable
{
public:
	virtual T Serialize() = 0;
	virtual void DeSerialize(T const & val) = 0;
};

#endif